package anno;

import javax.annotation.Resource;

public class Person {


    @CustomAnno(value = 25, name = {"小明", "小帅", "小红"})
    @Resource
    private String name;


    @FieldInject("cat")
    private Pet pet;

    @CustomAnno
    public void sleep() {

    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Pet getPet() {
        return pet;
    }

    public void setPet(Pet pet) {
        this.pet = pet;
    }
}
